<template>
  <el-descriptions class="margin-top" :title="company.companyName" :column="2" direction="vertical">
    <el-descriptions-item label="所属监管">{{company.deptName}}</el-descriptions-item>
    <el-descriptions-item label="手机号">18100000000</el-descriptions-item>
    <el-descriptions-item label="居住地" :span="2">苏州市</el-descriptions-item>
    <el-descriptions-item label="备注">
      <el-tag size="small">学校</el-tag>
    </el-descriptions-item>
    <el-descriptions-item label="联系地址">江苏省苏州市吴中区吴中大道 1188 号</el-descriptions-item>
  </el-descriptions>
</template>

<script>
import {getCompanyInfo} from "@/api/company/company";

export default {
  name: "companyInfo",
  data(){
    return {
      company: {}
    }
  },
  methods: {
    getCompany(){
      getCompanyInfo().then(response => {
        this.company = response.data
      })
    }
  }
}
</script>

<style scoped>

</style>
